﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" 
    style="width: 541px; text-align: left;">
    <tr>
        <td colspan="2" style="background-color: #0099ff;height:25px;">
            <strong><span style="font-size: 16pt; color: #ffffff">Thông tin &#273;&#259;ng nh&#7853;p</span></strong></td>
    </tr>
    <tr>
        <td style="width: 100px; height: 44px">
            <asp:Label ID="Label2" runat="server">Tên Khách Hàng</asp:Label></td>
        <td style="width: 524px; height: 44px">
            <asp:TextBox ID="tenkh" runat="server" Width="225px" style="text-align: left"></asp:TextBox>
            &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
                ControlToValidate="tenkh" ErrorMessage="Không &#273;&#432;&#7907;c b&#7887; tr&#7889;ng" 
                SetFocusOnError="True"></asp:RequiredFieldValidator>&nbsp;<br />
            <asp:Label ID="Label10" runat="server"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 100px">
            <asp:Label ID="Label3" runat="server" Text="M&#7853;t kh&#7849;u"></asp:Label></td>
        <td style="width: 524px;height:25px;">
            <asp:TextBox ID="matkhau" runat="server" Width="226px" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="matkhau"
                ErrorMessage="Không &#273;&#432;&#7907;c b&#7887; tr&#7889;ng" SetFocusOnError="True"></asp:RequiredFieldValidator>
            <br />
            <asp:Label ID="Label11" runat="server"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 100px">
            <asp:Label ID="Label1" runat="server" Text="Xác Nh&#7853;n"></asp:Label></td>
        <td style="width: 524px;height:40px;">
            <asp:TextBox ID="xacnhan" runat="server" TextMode="Password" Width="226px"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="matkhau"
                ControlToValidate="xacnhan" ErrorMessage="Ph&#7843;i trùng v&#7899;i m&#7853;t kh&#7849;u"></asp:CompareValidator></td>
    </tr>
    <tr>
        <td colspan="2" style="background-color: #3366ff;height:25px;">
            <span style="font-size: 16pt; color: #ffffff">Thông tin cá nhân</span></td>
    </tr>
    <tr>
        <td style="width: 100px; height: 44px;">
            <asp:Label ID="Label5" runat="server" Text="&#272;&#7883;a ch&#7881;"></asp:Label></td>
        <td style="width: 524px; height: 44px">
            <asp:TextBox ID="diachi" runat="server" Width="223px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="diachi"
                ErrorMessage="Không &#273;&#432;&#7907;c b&#7887; tr&#7889;ng"></asp:RequiredFieldValidator>
            </td>
    </tr>
    <tr>
        <td style="width: 100px; height: 24px;">
            <asp:Label ID="Label6" runat="server" Text="&#272;i&#7879;n tho&#7841;i"></asp:Label></td>
        <td style="width: 524px; height: 24px">
            <asp:TextBox ID="dienthoai" runat="server" Width="226px"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="dienthoai"
                ErrorMessage="S&#7889; &#273;i&#7879;n tho&#7841;i không h&#7907;p l&#7879;" 
                ValidationExpression=" \(\d{3}\)\d{7}|\d{11}|\d{10}"></asp:RegularExpressionValidator>
            <br />
            </td>
    </tr>
    <tr>
        <td style="width: 100px">
            <asp:Label ID="Label9" runat="server" Text="Email"></asp:Label></td>
        <td style="width: 524px; height: 24px">
            <asp:TextBox ID="email" runat="server" Width="181px"></asp:TextBox>@<asp:DropDownList
                ID="DropDownListemail" runat="server" Width="113px" style="height: 22px">
                <asp:ListItem>yahoo.com</asp:ListItem>
                <asp:ListItem>gmail.com</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 524px; height: 24px">
            <asp:Button ID="Buttondangky" runat="server" OnClick="Buttondangky_Click" 
                Text="&#272;&#259;ng ký" /></td>
    </tr>
</table>
</asp:Content>

